package cn.italkcloud.cph.entity.dto.vos;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author dominate
 * @since 2024/7/8
 **/
@Data
@ToString
public class CustomerDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户号码 唯一
     */
    private String account;

    /**
     * 账户名称
     */
    private String name;

    /**
     * 余额
     */
    private BigDecimal money;

    /**
     * 透支限额
     */
    private BigDecimal limitMoney;

    /**
     * 今日消费
     */
    private BigDecimal todayConsumption;

    /**
     * 计费费率组
     */
    private String feeRateGroup;

    /**
     * 账户类型 0普通账户 1 电话卡 2结算账户
     */
    private Integer type;

    /**
     * 锁定类型 0未锁定 1锁定
     */
    private Integer lockType;

    /**
     * true已注销 false未注销
     */
    private Boolean canceled;

    /**
     * 启用时间
     */
    private Long startTime;

    /**
     * 有效时间
     */
    private Long validTime;

    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class Result extends ResultDTO {
        private java.util.List<CustomerDetailDTO> infoCustomers;
    }
}
